import { createWebHashHistory, createRouter } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('../views/Home/Index.vue')
  },
  {
    path: '/FA',
    name: 'FA',
    component: () => import('../views/FA/Index.vue')
  },
  {
    path: '/SMT',
    name: 'SMT',
    component: () => import('../views/SMT/Index.vue')
  },
  {
    path: '/KBM',
    name: 'KBM',
    component: () => import('../views/KBM/Index.vue')
  },
  {
    path: '/Line',
    name: 'Line',
    component: () => import('../views/Line/Index.vue')
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
